using System;
using System.ComponentModel.DataAnnotations;

namespace Se.Framework.Web.Mvc.GenericCrud
{
    public interface IGenericCrudColumnData
    {
        Type Type { get; }

        Type SearchType { get; }

        DisplayAttribute DisplayAttr { get; }

        GenericCrudRenderMode RenderMode { get; }

        GenericCrudColumnConvertionData Convertion { get; }

        bool Sortable { get; }

        string Name { get; }

        bool Editable { get; }

        bool Required { get; }
    }
}